function mastermind(game) {
    var arr = ["Red", "Blue", "Green", "Orange", "Purple", "Yellow"];
    var colors = Array.from({ length: 4 }, (_, i) => arr[Math.random() * 6 | 0])
    var time = 0;
    game.check(colors)
}
